package com.example.demo.reposition;

import com.example.demo.model.EmpCache;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;
@Repository
public interface EmpRedisRepos extends CrudRepository<EmpCache,Long> {
    Optional<EmpCache> findOneByName(String name);
}
